/*************************************************************
**    Filename  :
**
**    Author :  
**    Version :  
**    Date   :   
*************************************************************/


#ifndef __OS_MsgQ_H_
#define __OS_MsgQ_H_

#ifdef __cplusplus
extern "C"{
#endif


#define mp_Os_MSGQ_WAIT_FOREVER  -1
#define mp_Os_MSGQ_NO_WAIT       0





#ifdef __cplusplus
extern "C" {
#endif

extern void os_MsgKeyInit(void);
extern int Os_MsgQCreate(int size, int num, int type);
extern int Os_MsgQDelete(int mid);
extern int Os_MsgQSend(int mid, char *txBuf, int txLen, int waitType);
extern int Os_MsgQReceive(int mid, char *rxBuf, int rxLen, int waitTime);
extern int Os_MsgQCreate_T(void);



#ifdef __cplusplus
}
#endif

#endif

